getApp();

var n = null;

Page({
    data: {
        swipers: [ {
            url: "../../images/call1.png"
        }, {
            url: "../../images/call2.png"
        } ]
    },
    onLoad: function(o) {
        // wx.createInterstitialAd && ((n = wx.createInterstitialAd({
        //     adUnitId: "adunit-0c55bb1eeef7e2c2"
        // })).onLoad(function() {}), n.onError(function(n) {}), n.onClose(function() {}));
    },
    _cancelEvent: function(n) {
        console.log("你点击了取消"), this.setData({
            isShown: !1
        });
    },
    handleToWxPublic: function() {
        // wx.navigateTo({
        //     url: "/miniprogram/pages/webview/webview?url=".concat("https://mp.weixin.qq.com/s/xvNiarvKVixg8CVBZNvGlw", "&nav=").concat("公众号：好吃还好玩")
        // });
    },
    _confirmEvent: function(n) {
        console.log("你点击了确定"), this.setData({
            isShown: !1
        });
    },
    showDialog: function() {
        this.setData({
            isShown: !0
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {
        // n && n.show().catch(function(n) {
        //     console.error(n);
        // });
    },
    onShareAppMessage: function() {
        return {
            title: "@朋友了你！快看我发现了这个好用的小程序！",
            desc: "用滚动字幕来表白～",
            imageUrl: "/static/images/home/share_img.jpg",
            path: "/pages/home/home",
            success: function(n) {
                console.log(n);
            }
        };
    },
    onShareTimeline: function() {
        return {
            title: "@了你！快看我发现了这个好用的LED弹幕小程序！",
            desc: "用滚动字幕来表白～",
            imageUrl: "/static/images/home/share_img.jpg",
            path: "/pages/home/home",
            success: function(n) {
                console.log(n);
            }
        };
    }
});